package org.linlinjava.litemall.admin.web;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.linlinjava.litemall.admin.service.AdminDashbordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/admin/dashboard")
@Validated
public class AdminDashbordController {
	private final Log logger = LogFactory.getLog(AdminDashbordController.class);

	@Autowired
	private AdminDashbordService dashbordService;

	@GetMapping("")
	public Object info() {
		return dashbordService.info();
	}

}
